<script lang="ts" setup>
import ArticleMultipleList from "@/components/pageDetail/ArticleMultipleList.vue";

const response = await api.getNewsTypeList('捐赠名单（内部导航，不显示）');
let newList: string[] = [];
if (response && response.code === 1) {
  newList = response.data.map((item: Category) => item.type2);
}
</script>

<template>
  <ArticleMultipleList
      :names="newList"
  />
</template>
